package com.example.travelservlet.entity;


import com.example.travelservlet.idclass.EntertainmentPlanPk;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.IdClass;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * @author dell
 */
@Entity
@Table(name = "scenery_plan")
@Data
//@IdClass(EntertainmentPlanPk.class)
public class EntertainmentPlan implements Serializable {
    @Id
    private String entertainmentPlanId;
    private String entertainmentId;
//    @Id
    private String planId;
    private Integer sequence;
    private String beginTime;
    private String endTime;
}
